package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserAndSoul;

import java.util.List;

/**
 * @Description:
 * @Create by: wanglei
 * @Date: 2021/11/7 12:58
 */
//答题用户和试卷之间的练习
public interface UserAndSoulApi {
    //保存
    void save(UserAndSoul userAndSoul);

    //根据用户id和soulId查询
    UserAndSoul findByUserIdAndSoulId(Long userId,String soulId);

    //更新数据，根据用户id和soulId查询
    void updateByUserIdAndSoulId(Long userId,String soulId);

    //根据报告id，查询
    List<UserAndSoul> findByReportId(Integer reporetId);
}
